package com.zkthink.ceres.order.dto;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@ApiModel(value = "OrderProductBassDTO", description = "用户订单和商品关系")
public class OrderProductBassDTO implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty("主键")
    private Long id;


    @ApiModelProperty("商户编号")
    private String tenantCode;

    /**
     * 店铺id
     */
    @ApiModelProperty(value = "店铺id")
    private Long storeId;

    /**
     * 订单id
     */
    @ApiModelProperty(value = "订单id")
    private Long orderId;

    /**
     * 商品id
     */
    @ApiModelProperty(value = "商品id")
    private Long productId;

    /**
     * 商品名称
     */
    @ApiModelProperty(value = "商品名称")
    private String productName;

    /**
     * 商品sku对应的主键id
     */
    @ApiModelProperty(value = "商品sku对应的主键id")
    private Long skuId;

    /**
     * 白色 37码
     */
    @ApiModelProperty(value = "白色 37码")
    private String skuNameStr;


    /**
     * 购买数量
     */
    @ApiModelProperty(value = "购买数量")
    private Integer buyNum;


    /**
     * 原价
     */
    @ApiModelProperty(value = "原价")
    private Long applyPrice;

    /**
     * 销售价
     */
    @ApiModelProperty(value = "销售价")
    private Long sellPrice;

    /**
     * 需要支付的运费
     */
    @ApiModelProperty(value = "需要支付的运费")
    private Long postPay;

    /**
     * 消费金额
     */
    @ApiModelProperty(value = "消费金额")
    private Long discountAmount;

}
